package com.it.day3;

/**
 * ClassName: StackErrorTest
 * Description: 栈溢出测试
 *
 * @Author: csx
 * @Create: 2025/4/26 - 22:42
 * @version: v1.0
 */
public class StackErrorTest {
    private static int count = 1;

    public static void main(String[] args) {
        try {
            count++;
            main(args);
        } catch (Throwable e) {
            System.out.println("递归调用次数：" + count);
        }
    }
}
